package methodfactory;

import entity.Coffee;
import simplefacory.SimpleFactory;

import java.util.Scanner;

public class CoffeeStore {
    public static void main(String[] args) {
//        AmeraicaFactory methodFactory=new AmeraicaFactory();
        NaTieFactory methodFactory=new NaTieFactory();
        Coffee coffee=methodFactory.createCoffee();
        System.out.println(coffee.getName());
        coffee.addMilk();
        coffee.addSugar();
    }
}
